package base

import "hi-jvm/rtda"

// 跳转指令公用函数
func Branch(frame *rtda.Frame, offset int) {
	pc := frame.Thread.PC()
	nextPC := pc + offset
	frame.NextPC = nextPC
}

